<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <title>学生管理</title>
    <link href="__ROOT__/Public/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <link rel="stylesheet" href="__CSS__/frozen.css">
    <script src="__LIB__/zepto.min.js"></script>
    <script src="__JS__/frozen.js"></script>
    <link rel="stylesheet" href="__CSS__/demo.css">
    <style type="text/css">
    img{ width: 100%;}
    </style>
    <block name="style"></block>
</head>

<body ontouchstart>

<block name="body"> </block>
<script type="text/javascript">
    //ok
    function ok(msg, url) {
        var el;
        el = $.tips({
            content: msg,
            stayTime: 1000,
            type: "success"
        })
        el.on("tips:hide", function () {
            //跳转
            console.log("tips hide");
            window.location.href = url;
        })
    }

    function tip(msg) {
        var el3;
        el3 = $.tips({
            content: msg,
            stayTime: 2000,
            type: "warn"
        })
        el3.on("tips:hide", function () {
            console.log("tips hide");
        })
    }
</script>
<block name="script"></block>
</body>
</html>